// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import settings from './settings'
import axios from "axios"

axios.defaults.withCredentials = false;

// ElementUI
// ElementUI import
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
// 调用插件
Vue.use(ElementUI);

// 引入全局重置样式
import "../static/css/reset.css"

// 导入gt极验
import '../static/js/gt.js'

// vue-vidoe-player视频播放组件的注册
require('video.js/dist/video-js.css');
require('vue-video-player/src/custom-theme.css');
import VideoPlayer from 'vue-video-player'
Vue.use(VideoPlayer);





Vue.config.productionTip = false

Vue.prototype.$settings = settings

Vue.prototype.$axios = axios;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
